<?php
require '../include/library.inc.php';
$data = '{
			uName: "Pesho",
			uPass: "123465",
			uPersistant:"false"
                }';
				
		$data = 				' {uUname:"dzhuparov",
								 uPassword:"123456", 
								 uEmail:"dzhuparov@gmail.com",
								 uMobile:"359889709933",
								 uFirstName:"KOnstantin",
								 uMidName:"",
								 uLastName:"Dzhuparov",
								 uCountryID:"1"}';


$post_data = array('pUser' => $data);


$url = 'http://pms.computel.bg/OlaParkUsers/OlaParkUsersDataService.svc/CreateNewUser';

$options = array(
    'http' => array(
        'header'  => "Content-type: application/x-www-form-urlencoded\r\n",
        'method'  => 'POST',
        'content' => http_build_query($post_data),
    ),
);
$context  = stream_context_create($options);
$result = file_get_contents($url, false, $context);


//$result = json_c_decode($result);

print_r($result);

?>